
/**
*@Author: QWP
*@Description: 附件列表
*@Params: 附件路径：filepath
*@Date 2023-08-31 20:32
*/
export const fileCols = (isCheck = false) => {
  return [
    { title: '附件名称', dataIndex: 'filename', minWidth: 150, element: 'input'},
    { title: '操作', dataIndex: 'upload', element: 'buttons', align: 'center',  width: 170, 
      buttons: [{label: '下载', key: 'uploadFile'}, { label: '预览', key: 'view' }],
    },
  ] 
}